package com.sftz.assets.enums;

import com.uxuexi.core.common.enums.IEnum;

/**
 * 课程资源: 1.试卷 2.作业 3.教学活动
 * @author   王宏伟
 * @Date	 2019年1月29日
 */
public enum CurriculumResourcesEnum implements IEnum {

	TESTPAPER(1, "试卷"), TASK(2, "作业"), TEACHINGACTIVITIES(3, "教学活动");
	private int key;
	private String value;

	private CurriculumResourcesEnum(final int key, final String value) {
		this.value = value;
		this.key = key;
	}

	@Override
	public String key() {
		return String.valueOf(key);
	}

	@Override
	public String value() {
		return value;
	}

	public int intKey() {
		return key;
	}

}
